package com.galaxy.device.domain.vo;

import com.alibaba.excel.annotation.ExcelProperty;
import com.galaxy.common.mybatis.core.domain.BaseEntity;
import com.galaxy.device.domain.DeviceBase;
import com.galaxy.device.domain.DeviceChannel;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

/**
 * 设备通道视图对象
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = DeviceChannel.class)
public class DeviceChannelVo extends BaseEntity {

    /**
     * 主键
     */
    private Long id;

    /**
     * 设备ID
     */
    private Long deviceId;

    /**
     * 设备编号
     */
    @ExcelProperty(value = "设备编号")
    private String deviceNo;

    /**
     * 设备名称
     */
    @ExcelProperty(value = "设备名称")
    private String deviceName;

    /**
     * 通道编号
     */
    @ExcelProperty(value = "通道编号")
    private String channelNo;

    /**
     * 通道位置(如A1, B2等)
     */
    @ExcelProperty(value = "通道位置")
    private String channelPosition;

    /**
     * 通道类型(1:弹簧式,2:传送带式)
     */
    @ExcelProperty(value = "通道类型")
    private Integer channelType;

    /**
     * 通道类型名称
     */
    @ExcelProperty(value = "通道类型名称")
    private String channelTypeName;

    /**
     * 最大容量
     */
    @ExcelProperty(value = "最大容量")
    private Integer maxCapacity;

    /**
     * 当前容量
     */
    @ExcelProperty(value = "当前容量")
    private Integer currentCapacity;

    /**
     * 状态(0:禁用,1:正常,2:故障)
     */
    @ExcelProperty(value = "状态")
    private Integer status;

    /**
     * 状态名称
     */
    @ExcelProperty(value = "状态名称")
    private String statusName;
}
